package com.stone.demo

import android.app.Application
import com.stone.core.HiLogger

class AppContext: Application() {

    companion object{
        const val TAG = "AppContext"
    }

    override fun onCreate() {
        super.onCreate()

        val logPath = this.externalCacheDir?.absolutePath?:this.cacheDir.absolutePath
        HiLogger.d(TAG, "onCreate logPath = $logPath")
        HiLogger.init(this, logPath)
        HiLogger.d(TAG, "cacheDir = ${this.cacheDir.absolutePath}")
        HiLogger.d(TAG, "externalCacheDir = ${this.externalCacheDir?.absolutePath}")



    }
}